<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>更新日志 | eleTree2.0</title>
    <meta name="generator" content="VuePress 1.5.1">
    <link rel="icon" type="image/png" href="/favicon.ico">
    <link rel="stylesheet" href="/eleTree/css/icon.css?v=2.2.12.1">
    <script src="/eleTree/eleTree.js?v=2.2.24.1"></script>
    <script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "https://hm.baidu.com/hm.js?7fcfe1e92263ed7399914905523c0c95";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();</script>
    <meta name="description" content="">
    <meta name="baidu-site-verification" content="IvAUSITvsn">
    <meta name="keywords" content="eleTree2.0在线文档">
    <link rel="preload" href="/assets/css/0.styles.91221a34.css" as="style"><link rel="preload" href="/assets/js/app.a193bf19.js" as="script"><link rel="preload" href="/assets/js/3.84dbd945.js" as="script"><link rel="preload" href="/assets/js/38.9c17fa93.js" as="script"><link rel="preload" href="/assets/js/7.972ab9e5.js" as="script"><link rel="prefetch" href="/assets/js/10.9f120277.js"><link rel="prefetch" href="/assets/js/11.6bcf5bb3.js"><link rel="prefetch" href="/assets/js/12.11e7832e.js"><link rel="prefetch" href="/assets/js/13.e96ac51a.js"><link rel="prefetch" href="/assets/js/14.887918d8.js"><link rel="prefetch" href="/assets/js/15.8777782c.js"><link rel="prefetch" href="/assets/js/16.c76b5a5a.js"><link rel="prefetch" href="/assets/js/17.9a3746b5.js"><link rel="prefetch" href="/assets/js/18.f07500df.js"><link rel="prefetch" href="/assets/js/19.9a464253.js"><link rel="prefetch" href="/assets/js/20.857df9f7.js"><link rel="prefetch" href="/assets/js/21.b0a15b44.js"><link rel="prefetch" href="/assets/js/22.4b494a31.js"><link rel="prefetch" href="/assets/js/23.602eadb9.js"><link rel="prefetch" href="/assets/js/24.6f9d389f.js"><link rel="prefetch" href="/assets/js/25.c2c940c9.js"><link rel="prefetch" href="/assets/js/26.ec45c9b1.js"><link rel="prefetch" href="/assets/js/27.9dcfcc9e.js"><link rel="prefetch" href="/assets/js/28.ffd2c680.js"><link rel="prefetch" href="/assets/js/29.49a2bdda.js"><link rel="prefetch" href="/assets/js/30.9ad91880.js"><link rel="prefetch" href="/assets/js/31.99c08fe3.js"><link rel="prefetch" href="/assets/js/32.fa9257f0.js"><link rel="prefetch" href="/assets/js/33.1ad2b15c.js"><link rel="prefetch" href="/assets/js/34.679800cc.js"><link rel="prefetch" href="/assets/js/35.15d8df11.js"><link rel="prefetch" href="/assets/js/36.7b07585c.js"><link rel="prefetch" href="/assets/js/37.01c340a9.js"><link rel="prefetch" href="/assets/js/39.db7dda10.js"><link rel="prefetch" href="/assets/js/4.e515bbb8.js"><link rel="prefetch" href="/assets/js/40.d6c6a51a.js"><link rel="prefetch" href="/assets/js/41.0135d6c4.js"><link rel="prefetch" href="/assets/js/5.73297c64.js"><link rel="prefetch" href="/assets/js/6.370904a1.js"><link rel="prefetch" href="/assets/js/8.187f1fef.js"><link rel="prefetch" href="/assets/js/9.c85d4359.js"><link rel="prefetch" href="/assets/js/vendors~docsearch.d666988f.js">
    <link rel="stylesheet" href="/assets/css/0.styles.91221a34.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">eleTree2.0</span></a> <div class="links"><form id="search-form" role="search" class="algolia-search-wrapper search-box"><input id="algolia-search-input" class="search-query"></form> <nav class="nav-links can-hide"><div class="nav-item"><a href="/eleTree/installation.html" class="nav-link">
  eleTree2.0
</a></div><div class="nav-item"><a href="https://layuiextend.hsianglee.cn/eleTree/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  1.0版本
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://github.com/hsiangleev/eleTree" target="_blank" rel="noopener noreferrer" class="nav-link external">
  github
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://hsianglee.cn" target="_blank" rel="noopener noreferrer" class="nav-link external">
  个人博客
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/eleTree/installation.html" class="nav-link">
  eleTree2.0
</a></div><div class="nav-item"><a href="https://layuiextend.hsianglee.cn/eleTree/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  1.0版本
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://github.com/hsiangleev/eleTree" target="_blank" rel="noopener noreferrer" class="nav-link external">
  github
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://hsianglee.cn" target="_blank" rel="noopener noreferrer" class="nav-link external">
  个人博客
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav>  <div class="advertise-top"><script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins data-ad-client="ca-pub-2229355551485035" data-ad-slot="6395441907" class="adsbygoogle" style="display:inline-block;width:210px;height:100px"></ins> <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
    </script></div> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发指南</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/eleTree/installation.html" class="sidebar-link">安装</a></li><li><a href="/eleTree/quickstart.html" class="sidebar-link">快速开始</a></li><li><a href="/eleTree/update-log.html" aria-current="page" class="active sidebar-link">更新日志</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>使用文档</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/eleTree/usedocs-attr.html" class="sidebar-link">属性</a></li><li><a href="/eleTree/usedocs-methods.html" class="sidebar-link">方法</a></li><li><a href="/eleTree/usedocs-event.html" class="sidebar-link">事件</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>示例</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/eleTree/demo-methods.html" class="sidebar-link">方法示例</a></li><li><a href="/eleTree/demo-icon.html" class="sidebar-link">自定义图标或图片</a></li><li><a href="/eleTree/demo-customText.html" class="sidebar-link">文本节点自定义</a></li><li><a href="/eleTree/demo-datatype.html" class="sidebar-link">pid结构的数据格式</a></li><li><a href="/eleTree/demo-rightmenu.html" class="sidebar-link">右键菜单</a></li><li><a href="/eleTree/demo-drag.html" class="sidebar-link">节点拖拽</a></li><li><a href="/eleTree/demo-lazyload.html" class="sidebar-link">懒加载</a></li><li><a href="/eleTree/demo-search.html" class="sidebar-link">树节点搜索</a></li><li><a href="/eleTree/demo-manydata.html" class="sidebar-link">大数据量渲染</a></li><li><a href="/eleTree/demo-sort.html" class="sidebar-link">树节点排序</a></li><li><a href="/eleTree/explain.html" class="sidebar-link">规则说明</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h3 id="更新日志"><a href="#更新日志" class="header-anchor">#</a> 更新日志</h3> <ul class="update-log" data-v-9c1ac4cc><li data-v-9c1ac4cc><h4 id="_2-2-24" data-v-9c1ac4cc><a href="#_2-2-24" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.24</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-09-06</strong></p> <h5 id="bug修复" data-v-9c1ac4cc><a href="#bug修复" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>reload时where和headers参数重置</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-23" data-v-9c1ac4cc><a href="#_2-2-23" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.23</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-09-06</strong></p> <h5 id="bug修复-2" data-v-9c1ac4cc><a href="#bug修复-2" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>节点copy，数据为null的bug修复</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-22" data-v-9c1ac4cc><a href="#_2-2-22" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.22</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-08-28</strong></p> <h5 id="bug修复-3" data-v-9c1ac4cc><a href="#bug修复-3" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>修复右键菜单位置错误</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-21" data-v-9c1ac4cc><a href="#_2-2-21" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.21</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-06-25</strong></p> <h5 id="新特性" data-v-9c1ac4cc><a href="#新特性" class="header-anchor" data-v-9c1ac4cc>#</a> 新特性</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>新增或编辑节点时，按entry键保存</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-20" data-v-9c1ac4cc><a href="#_2-2-20" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.20</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-06-18</strong></p> <h5 id="bug修复-4" data-v-9c1ac4cc><a href="#bug修复-4" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>初始化数据checkbox为禁用状态，当使用updateKeySelf方法更新后（将checkbox改为启用），选择该节点时父节点没有默认选中</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-19" data-v-9c1ac4cc><a href="#_2-2-19" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.19</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-06-18</strong></p> <h5 id="新特性-2" data-v-9c1ac4cc><a href="#新特性-2" class="header-anchor" data-v-9c1ac4cc>#</a> 新特性</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>getChecked方法和getRadioChecked方法添加参数includeHideChecked，是否包含隐藏节点，默认true</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-18" data-v-9c1ac4cc><a href="#_2-2-18" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.18</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-05-28</strong></p> <h5 id="新特性-3" data-v-9c1ac4cc><a href="#新特性-3" class="header-anchor" data-v-9c1ac4cc>#</a> 新特性</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>添加sort属性和方法</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-16" data-v-9c1ac4cc><a href="#_2-2-16" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.16</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-03-15</strong></p> <h5 id="优化" data-v-9c1ac4cc><a href="#优化" class="header-anchor" data-v-9c1ac4cc>#</a> 优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>单选报错bug修改</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-15" data-v-9c1ac4cc><a href="#_2-2-15" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.15</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-03-15</strong></p> <h5 id="优化-2" data-v-9c1ac4cc><a href="#优化-2" class="header-anchor" data-v-9c1ac4cc>#</a> 优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>新增属性isOnlyShowLeafRadio，设置radio只显示叶子节点</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-14" data-v-9c1ac4cc><a href="#_2-2-14" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.14</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-01-26</strong></p> <h5 id="优化-3" data-v-9c1ac4cc><a href="#优化-3" class="header-anchor" data-v-9c1ac4cc>#</a> 优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>isDefaultChangePstatus属性优化</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-13" data-v-9c1ac4cc><a href="#_2-2-13" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.13</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-01-15</strong></p> <h5 id="优化-4" data-v-9c1ac4cc><a href="#优化-4" class="header-anchor" data-v-9c1ac4cc>#</a> 优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>isDefaultChangePstatus属性优化，添加该属性对懒加载的支持，即懒加载第一次加载数据时，子节点的选中影响父节点，父节点的选中不影响子节点，只针对第一次加载数据有效</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-12" data-v-9c1ac4cc><a href="#_2-2-12" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.12</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2021-01-08</strong></p> <h5 id="优化-5" data-v-9c1ac4cc><a href="#优化-5" class="header-anchor" data-v-9c1ac4cc>#</a> 优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>reload之后移除之前的高亮选中</li> <li data-v-9c1ac4cc>node节点添加hover背景色</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-11" data-v-9c1ac4cc><a href="#_2-2-11" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.11</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-11-09</strong></p> <h5 id="bug修复-5" data-v-9c1ac4cc><a href="#bug修复-5" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>使用异步数据时，headers和where参数无效</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-10" data-v-9c1ac4cc><a href="#_2-2-10" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.10</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-10-14</strong></p> <h5 id="bug修复-6" data-v-9c1ac4cc><a href="#bug修复-6" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>新增或编辑节点时，事件回调获取的name值改为当前输入的值</li> <li data-v-9c1ac4cc>新增节点时，调用stop方法，则删除新增加的节点</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-9" data-v-9c1ac4cc><a href="#_2-2-9" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.9</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-10-13</strong></p> <h5 id="新特性-4" data-v-9c1ac4cc><a href="#新特性-4" class="header-anchor" data-v-9c1ac4cc>#</a> 新特性</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>事件回调返回的数据中，如果是通过右键菜单操作触发的回调函数，则增加rightClickData参数，代表当前右键菜单节点的数据（上一次右键时的节点数据）</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-7" data-v-9c1ac4cc><a href="#_2-2-7" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.7</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-09-15</strong></p> <h5 id="新特性-5" data-v-9c1ac4cc><a href="#新特性-5" class="header-anchor" data-v-9c1ac4cc>#</a> 新特性</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>新增节点文本自定义属性函数<strong data-v-9c1ac4cc>customText</strong>；<a href="/eleTree/demo-customText" data-v-9c1ac4cc>查看示例</a></li> <li data-v-9c1ac4cc>新增节点编辑方法<strong data-v-9c1ac4cc>edit</strong></li></ul> <h5 id="bug修复-7" data-v-9c1ac4cc><a href="#bug修复-7" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>ie10浏览器拖拽功能报错</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-6" data-v-9c1ac4cc><a href="#_2-2-6" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.6</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-09-14</strong></p> <h5 id="bug修复-8" data-v-9c1ac4cc><a href="#bug修复-8" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>节点拖拽时，父节点放到子节点下，导致节点被删除</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-5" data-v-9c1ac4cc><a href="#_2-2-5" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.5</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-09-09</strong></p> <h5 id="新特性-6" data-v-9c1ac4cc><a href="#新特性-6" class="header-anchor" data-v-9c1ac4cc>#</a> 新特性</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>新增全选checkbox节点方法<strong data-v-9c1ac4cc>setAllChecked</strong></li> <li data-v-9c1ac4cc>新增反选checkbox节点方法<strong data-v-9c1ac4cc>reverseChecked</strong></li></ul> <h5 id="bug修复-9" data-v-9c1ac4cc><a href="#bug修复-9" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>当祖父节点选中时，子节点使用<strong data-v-9c1ac4cc>unChecked</strong>方法取消不掉</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-4" data-v-9c1ac4cc><a href="#_2-2-4" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.4</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-08-22</strong></p> <h5 id="bug修复-10" data-v-9c1ac4cc><a href="#bug修复-10" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>showLine:false无效修改</li> <li data-v-9c1ac4cc>accordion手风琴功能报错修改</li> <li data-v-9c1ac4cc>done回调返回数据修改</li></ul> <h5 id="功能优化" data-v-9c1ac4cc><a href="#功能优化" class="header-anchor" data-v-9c1ac4cc>#</a> 功能优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>搜索到子节点时自动展开父节点</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-3" data-v-9c1ac4cc><a href="#_2-2-3" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.3</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-08-20</strong></p> <h5 id="功能优化-2" data-v-9c1ac4cc><a href="#功能优化-2" class="header-anchor" data-v-9c1ac4cc>#</a> 功能优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>剪贴的节点不修改id</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-2" data-v-9c1ac4cc><a href="#_2-2-2" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.2</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-08-19</strong></p> <h5 id="bug修复-11" data-v-9c1ac4cc><a href="#bug修复-11" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>修复右键菜单时增加节点时，不在文字上面右键报错的问题</li></ul> <h5 id="功能优化-3" data-v-9c1ac4cc><a href="#功能优化-3" class="header-anchor" data-v-9c1ac4cc>#</a> 功能优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>右键菜单位置做边界处理，超出边界则出现在鼠标左/上侧</li> <li data-v-9c1ac4cc>当有多棵树时，右键菜单只显示一个</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-2-1" data-v-9c1ac4cc><a href="#_2-2-1" class="header-anchor" data-v-9c1ac4cc>#</a> 2.2.1</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-08-18</strong></p> <h5 id="新特性-7" data-v-9c1ac4cc><a href="#新特性-7" class="header-anchor" data-v-9c1ac4cc>#</a> 新特性</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>新增拖拽功能: draggable</li> <li data-v-9c1ac4cc>新增方法: copy/cutPaste/paste/getClipboardData</li> <li data-v-9c1ac4cc>新增事件: drag</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-1-17" data-v-9c1ac4cc><a href="#_2-1-17" class="header-anchor" data-v-9c1ac4cc>#</a> 2.1.17</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-08-05</strong></p> <h5 id="bug修复-12" data-v-9c1ac4cc><a href="#bug修复-12" class="header-anchor" data-v-9c1ac4cc>#</a> bug修复</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>解决radio单选在radioType为all的时候，先选中再取消之后，获取选中项依然选中的问题</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-1-16" data-v-9c1ac4cc><a href="#_2-1-16" class="header-anchor" data-v-9c1ac4cc>#</a> 2.1.16</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-08-01</strong></p> <h5 id="checkbox选择优化" data-v-9c1ac4cc><a href="#checkbox选择优化" class="header-anchor" data-v-9c1ac4cc>#</a> checkbox选择优化</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>添加<strong data-v-9c1ac4cc>isDefaultChangePstatus</strong>属性</li> <li data-v-9c1ac4cc>优化<strong data-v-9c1ac4cc>unChecked</strong>方法，在父子关联的情况下，取消父节点选中会同时取消所有子孙节点选中；父子同时选中，取消子节点，父节点可以半选</li></ul></li> <li data-v-9c1ac4cc><h4 id="_2-1-15" data-v-9c1ac4cc><a href="#_2-1-15" class="header-anchor" data-v-9c1ac4cc>#</a> 2.1.15</h4> <p data-v-9c1ac4cc><strong data-v-9c1ac4cc>2020-07-31</strong></p> <h5 id="新特性-8" data-v-9c1ac4cc><a href="#新特性-8" class="header-anchor" data-v-9c1ac4cc>#</a> 新特性</h5> <ul data-v-9c1ac4cc><li data-v-9c1ac4cc>增加pid格式的数据源</li> <li data-v-9c1ac4cc><strong data-v-9c1ac4cc>append</strong>方法与<strong data-v-9c1ac4cc>updateKeySelf</strong>方法支持pid格式，并且<strong data-v-9c1ac4cc>updateKeySelf</strong>方法支持移动节点</li> <li data-v-9c1ac4cc>获取所有数据方法<strong data-v-9c1ac4cc>getAllNodeData</strong>支持返回pid格式数据</li></ul></li></ul></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">9/6/2021, 9:04:21 AM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
      ←
      <a href="/eleTree/quickstart.html" class="prev">
        快速开始
      </a></span> <span class="next"><a href="/eleTree/usedocs-attr.html">
        属性
      </a>
      →
    </span></p></div> </main></div><div class="global-ui"></div></div>
    <script src="/assets/js/app.a193bf19.js" defer></script><script src="/assets/js/3.84dbd945.js" defer></script><script src="/assets/js/38.9c17fa93.js" defer></script><script src="/assets/js/7.972ab9e5.js" defer></script>
  </body>
</html>
